package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @description:
 * @author: Administrator
 * @date: Created in 2021/2/22 18:36
 * @version: 0.0.1
 * @modified By:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "follow_user")
public class FollowUser implements Serializable {
    private static final long serialVersionUID = 3148619072405056052L;
    private ObjectId id;  //主键
    private Long userId;  //用户id
    private Long followUserId;  //关注的用户id
    private Long created;  //关注时间

}
